Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=
37df81b788ebe700
Last-Update: 2020-04-16
It was accessing the deleted current element in a potentially
reallocated container.
Gbp-Pq: Name qeventdispatcher_glib_use_after_free.diff
p->pollfd.fd, t[int(p->socketNotifier->type())]);
// ### note, modifies src->pollfds!
p->socketNotifier->setEnabled(false);
+ i--;
+ } else {
+ pending = pending || ((p->pollfd.revents & p->pollfd.events) != 0);
}
-
- pending = ((p->pollfd.revents & p->pollfd.events) != 0);
}
return pending;